<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
<%@page import="java.sql.*" %>
<%@page import="zozopo.manual.operations.*" %>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";


ContentOS contentOS = new ContentOS();
List<ContentTB> list;
try{
	list = contentOS.select();
}finally{
	contentOS.releaseConnection();
}
%>

<!DOCTYPE html>
<html >
  <head>

    <title>ZOZOPO购物手册</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    	
	<meta http-equiv="keywords" content="手册,zozopo手册,手册zozopo">
	<meta http-equiv="description" content="This is my page">
    
	<style>
	
	</style>
	
	

<link rel="stylesheet" href="<%=basePath %>storerecommend/css/andreas09.css" type="text/css" media="screen" />
<style type="text/css">
#container{background:#f0f0f0 url(<%=basePath %>storerecommend/alt-img/bodybg-red.jpg) repeat-x;}
#mainmenu a:hover{background:#f0f0f0 url(<%=basePath %>storerecommend/alt-img/menuhover-red.jpg) top left repeat-x;}
#mainmenu a.current{background:#f0f0f0 url(<%=basePath %>storerecommend/alt-img/menuhover-red.jpg) top left repeat-x;}

a.xl i{background-position:-32px 0; background-image:}


.litit{background-image:url('<%=basePath %>storerecommend/tit.png'); float: left; line-height: 27px; margin-right: 7px; margin-right-value: 7px; margin-right-ltr-source: physical; margin-right-rtl-source: physical; vertical-align: text-top; height: 27px; width:76px; font-size:20px; color:#FFF; text-align: center;}

.lic{overflow: hidden; text-align:center; font-size:18px; margin-bottom: 0px; float:left; overflow:hidden; float: left; display:inline; background-position: center  center; margin-top: 5px; margin-left:10px;}


.box{border:1px solid #C3C3C3;border-bottom:2px solid #C3C3C3;}
</style>

  </head>
  
  <body >
  <div id="container" >
    <div id="sitename">
        <h1>购物手册</h1>
        <h2>打造最干净最正品网店推荐网</h2>
    </div>
    <div id="mainmenu">
        <ul>
        
        <li><a href="<%=basePath %>manual/"> 首 页 </a></li>
        
        <li><a href="#">服装</a></li>
        
        <li><a href="#">3C产品</a></li>
        
        <li><a href="#">化装品</a></li>
        
        <li><a href="#">配件/饰品</a></li>
        
        <li><a href="#">包包</a></li>
      
      	<li><a href="<%=basePath %>storerecommend/">网店推荐</a></li>
      
        <li><a href="<%=basePath %>">返回ZOZOPO主页</a></li> 
        
        <s:if test="%{#session.userInfo == null}">
        <li><a class="" href="javascript:openUrlForDialog('<%=basePath %>user/dialog/login.jsp','登陆',480);" >登陆</a></li>
        
      	<li><a class="" href="#">注册(未开放)</a></li> 
   		</s:if>
   		<s:else>

   			 <li><a class="" href="<%=basePath %>manual/prerelease_manual.action" >发布</a></li>
   		<li><a class="" href="<%=basePath %>manual/loginout.action" >退出</a></li>
   		</s:else>
   		
        </ul>
        
      
    </div>
    <div id="wrap" style="overflow: visible;height: auto;"> 
        <div id="rightside">
            <span id="ad2"> 
            </span>
        </div>
       
    <div id="contentalt" style="overflow: visible;height: auto;background: #e8e8e8;">
   		
    
        <%for(ContentTB content:list){ %>
	        <div  class="box col" style="float: left;margin: 2px;width: 198px;overflow: visible;height: auto;background: #ffffff;" >
				<a href="content_manual.action?id=<%=content.getId() %>" >
						<img alt="" src="<%=content.getImage() %>" style="border: 0px;"/></a>
					<p style="color: #888;font-size: 12px;margin: 0px; "><%=content.getTitle() %></p>
					<p>评论(0) 点击(0)</p>
			</div> 
        <%} %>
      
        <div style="clear:left" id="ad3"></div>
        
    </div>
    </div>
  <br/>

</div>
    
    
    
    
  

<div id="footer" style="overflow: visible;">
<div>友情链接: <a href="http://www.fobe.cn">FOBE</a> </div>
<p> Powered by Zozopo Work Team 版权所有 2011 粤ICP备11056551号  <img src="http://dt.tongji.linezing.com/tongji.do?unit_id=1826429&amp;uv_id=25291409272505780096&amp;uv_new=0&amp;cna=&amp;cg=&amp;mid=&amp;mmland=&amp;ade=&amp;adtm=&amp;sttm=&amp;cpa=&amp;ss_id=781619180&amp;ss_no=4&amp;ec=1&amp;ref=http%3A//www.zozopo.com/manual/search.action%3Fsearch%3Dvans&amp;url=http%3A//www.zozopo.com/&amp;title=%u6B63%u54C1%u7F51%u5E97%u5BFC%u822A%20-%20Zozopo&amp;charset=UTF-8&amp;domain=zozopo.com&amp;hashval=1054&amp;filtered=0&amp;app=Netscape&amp;agent=Mozilla/5.0%20%28Windows%20NT%206.1%3B%20WOW64%29%20AppleWebKit/536.5%20%28KHTML%2C%20like%20Gecko%29%20Chrome/19.0.1084.56%20Safari/536.5&amp;color=32-bit&amp;screen=1440x900&amp;lg=zh-cn&amp;je=1&amp;fv=11.3%20r300&amp;st=1341220367&amp;vc=ec8f9a20&amp;ut=0&amp;url_id=0&amp;cnu=0.2038719968404621" alt="" width="1" height="1" border="0" />

</p>
<p>
<script type="text/javascript" src="http://js.tongji.linezing.com/2914483/tongji.js"></script><noscript><a href="http://www.linezing.com"><img src="http://img.tongji.linezing.com/2914483/tongji.gif"/></a></noscript>

</p>
</div>

<div id="dialog" title="" class="width:800px;" >
	<p></p>
</div>
  </body>
  
  
  <link rel="stylesheet" href="<%=basePath %>manual/jquery/development-bundle/themes/base/jquery.ui.all.css">
	<script src="<%=basePath %>jquery/jquery-1.4.2.js"></script> 
	<script src="<%=basePath %>manual/jquery/development-bundle/external/jquery.bgiframe-2.1.2.js"></script>
	<script src="<%=basePath %>manual/jquery/development-bundle/ui/jquery.ui.core.js"></script>
	<script src="<%=basePath %>manual/jquery/development-bundle/ui/jquery.ui.widget.js"></script>
	<script src="<%=basePath %>manual/jquery/development-bundle/ui/jquery.ui.mouse.js"></script>
	<script src="<%=basePath %>manual/jquery/development-bundle/ui/jquery.ui.draggable.js"></script>
	<script src="<%=basePath %>manual/jquery/development-bundle/ui/jquery.ui.position.js"></script>
	<script src="<%=basePath %>manual/jquery/development-bundle/ui/jquery.ui.resizable.js"></script>
	<script src="<%=basePath %>manual/jquery/development-bundle/ui/jquery.ui.dialog.js"></script>
	
	<link rel="stylesheet" href="<%=basePath %>manual/jquery/development-bundle/demos/demos.css">
  
  
   <script type="text/javascript" src="<%=basePath %>manual/js/jquery.masonry.min.js" charset="utf-8"></script>
	
<script type="text/javascript">



$(function(){
    
    $('#contentalt').masonry({
      itemSelector: '.box'
    });
 
  });



function openUrlForDialog(url,t,w){
	url = encodeURI(encodeURI(url));
	$("#dialog").dialog(
			{ 
				width: w,
				title:t,
				resizable:false,
				modal:true
			}
		);
	
	 $("#dialog").html("载入数据中...");
	
	
	 $.get(url, function(data){		
		  $("#dialog").html(data);
	});
}




for(var mydate=document.getElementsByTagName("span"),i=0;i<mydate.length;i++)if(mydate[i].className=="date"){var val=parseInt(mydate[i].innerHTML),date=new Date(val);y=date.getFullYear();m=date.getMonth()+1;d=date.getDate();mydate[i].innerHTML=y+"-"+m+"-"+d};	
</script>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-4838380-3");
pageTracker._initData();
pageTracker._trackPageview();
</script>
</html>
